<?php
	/**
         * 3LA.CC input file
         * @copyright Marcus Povey 2008
         */

	/**
	 * Get some input from passed variables.
	 * 
	 * @param $variable string The variable we want to return.
	 * @param $default mixed A default value for the variable if it is not found.
	 */
	function get_input($variable, $default = "")
	{
		
		
		// TODO: Some nice filtering here

		if ($_REQUEST[$variable]!="")
			return $_REQUEST[$variable];
		
		return $default;
	}
?>
